package cn.hicard.risk.service.bd.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.hicard.risk.dao.bd.MerchDao;
import cn.hicard.risk.entity.BdMerch;
import cn.hicard.risk.service.bd.MerchService;

@Service
public class MerchServiceImpl  implements MerchService{
	
	private MerchDao merchDao;	

	public void setMerchDao(MerchDao merchDao) {
		this.merchDao = merchDao;
	}


	@Override
	public BdMerch getOne(BdMerch merch) throws Exception{
		return merchDao.getOne(merch);
	}


	@Override
	public List<BdMerch> findList(BdMerch merch) throws Exception {
		return merchDao.findList(merch);
	}
	
	@Override
	public List<String> findPeriodList(BdMerch merch) throws Exception {
		return merchDao.findPeriodList(merch);
	}


	

}
